package com.retailshop.shopuser.mapper;

import com.retailshop.shopuser.entity.SignVoucher;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SignVoucherMapper {
    int deleteByPrimaryKey(Integer voucherId);

    int insert(SignVoucher record);

    int insertSelective(SignVoucher record);

    SignVoucher selectByPrimaryKey(Integer voucherId);

    int updateByPrimaryKeySelective(SignVoucher record);

    int updateByPrimaryKey(SignVoucher record);

    List<SignVoucher> selectList();

   SignVoucher selectBySignDays(@Param("signDays") int signDays);


}